]> dgit.raspbian.org Git - gnome-shell.git/commit
inhibitShortcutsDialog: Don't override resource
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 6 Oct 2022 12:30:20 +0000 (14:30 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 6 Oct 2022 12:47:43 +0000 (14:47 +0200)
commit8590e3350145b3c652d3977d72fe0da7f1d8885c
tree909297fb393504d6fa3762d627a1763e790c065e
parent0ce2bc343b024142dddfe6e6bb57b51bfa407df9
inhibitShortcutsDialog: Don't override resource

PermissionStore's Set() method takes a complete permission
table, so when setting an app's permission, we are implicitly
removing all previously set entries for other apps.

Switch to the SetPermission() method which sets the permission
for a single app.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5937

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2504>
data/dbus-interfaces/org.freedesktop.impl.portal.PermissionStore.xml
js/ui/inhibitShortcutsDialog.js